<div class="sliders view">
<h2><?php echo __('Slider'); ?></h2>
	<dl>
		<dt><?php echo __('Id'); ?></dt>
		<dd>
			<?php echo h($slider['Slider']['id']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Name'); ?></dt>
		<dd>
			<?php echo h($slider['Slider']['name']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Date Modified'); ?></dt>
		<dd>
			<?php echo h($slider['Slider']['date_modified']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('Date Created'); ?></dt>
		<dd>
			<?php echo h($slider['Slider']['date_created']); ?>
			&nbsp;
		</dd>
		<dt><?php echo __('User Created'); ?></dt>
		<dd>
			<?php echo h($slider['Slider']['user_created']); ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<h3><?php echo __('Actions'); ?></h3>
	<ul>
		<li><?php echo $this->Html->link(__('Edit Slider'), array('action' => 'edit', $slider['Slider']['id'])); ?> </li>
		<li><?php echo $this->Form->postLink(__('Delete Slider'), array('action' => 'delete', $slider['Slider']['id']), null, __('Are you sure you want to delete # %s?', $slider['Slider']['id'])); ?> </li>
		<li><?php echo $this->Html->link(__('List Sliders'), array('action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Slider'), array('action' => 'add')); ?> </li>
		<li><?php echo $this->Html->link(__('List Slider Details'), array('controller' => 'slider_details', 'action' => 'index')); ?> </li>
		<li><?php echo $this->Html->link(__('New Slider Detail'), array('controller' => 'slider_details', 'action' => 'add')); ?> </li>
	</ul>
</div>
<div class="related">
	<h3><?php echo __('Related Slider Details'); ?></h3>
	<?php if (!empty($slider['SliderDetail'])): ?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php echo __('Id'); ?></th>
		<th><?php echo __('Rank'); ?></th>
		<th><?php echo __('Image Url'); ?></th>
		<th><?php echo __('Slider Id'); ?></th>
		<th><?php echo __('Content'); ?></th>
		<th><?php echo __('Language Id'); ?></th>
		<th class="actions"><?php echo __('Actions'); ?></th>
	</tr>
	<?php foreach ($slider['SliderDetail'] as $sliderDetail): ?>
		<tr>
			<td><?php echo $sliderDetail['id']; ?></td>
			<td><?php echo $sliderDetail['rank']; ?></td>
			<td><?php echo $sliderDetail['image_url']; ?></td>
			<td><?php echo $sliderDetail['slider_id']; ?></td>
			<td><?php echo $sliderDetail['content']; ?></td>
			<td><?php echo $sliderDetail['language_id']; ?></td>
			<td class="actions">
				<?php echo $this->Html->link(__('View'), array('controller' => 'slider_details', 'action' => 'view', $sliderDetail['id'])); ?>
				<?php echo $this->Html->link(__('Edit'), array('controller' => 'slider_details', 'action' => 'edit', $sliderDetail['id'])); ?>
				<?php echo $this->Form->postLink(__('Delete'), array('controller' => 'slider_details', 'action' => 'delete', $sliderDetail['id']), null, __('Are you sure you want to delete # %s?', $sliderDetail['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Slider Detail'), array('controller' => 'slider_details', 'action' => 'add')); ?> </li>
		</ul>
	</div>
</div>
